<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<title>{:__('Scout Chain')}</title>
		<script type="text/javascript">
            //适配移动端
			function resize() {
				var deviceWidth = document.documentElement.clientWidth;
				if (deviceWidth < 240) deviceWidth = 240;
					document.documentElement.style.cssText = 'font-size:' + (deviceWidth / 15) + 'px!important';
			}
			window.addEventListener('resize', resize);
			resize();
        </script>
        <!--[if !IE]>-->
		    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
		    <script src="__CDN__/assets/libs/bootstrap/dist/js/bootstrap.min.js"></script>
		    <link rel="stylesheet" type="text/css" href="__CDN__/assets/libs/bootstrap/dist/css/bootstrap.min.css"/>
			<link rel="stylesheet" href="__CDN__/assets/css/scoute/indexPc.css"/>
	     <!--<![endif]-->

	    <!--<![if lte IE 8]>-->
	        <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
	        <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.js"></script>
	        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
		    <script src="__CDN__/assets/libs/bootstrap/dist/js/bootstrap.min.js"></script>
		    <link rel="stylesheet" type="text/css" href="__CDN__/assets/libs/bootstrap/dist/css/bootstrap.min.css"/>
			<link rel="stylesheet" href="__CDN__/assets/css/scoute/indexPc.css"/>
	    <!--<![endif]-->

	     <!--<![if gt IE 8]>-->
		    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
		    <script src="__CDN__/assets/libs/bootstrap/dist/js/bootstrap.min.js"></script>
		    <link rel="stylesheet" type="text/css" href="__CDN__/assets/libs/bootstrap/dist/css/bootstrap.min.css"/>
			<link rel="stylesheet" href="__CDN__/assets/css/scoute/indexPc.css"/>
	    <!--<![endif]-->
        
	</head>
	<body>
	    {include file="scoute/header" /}
        <div class="lan">
			<div><a href="?ref=home/scoutechain&lang=en">EN</a></div>
			<div><a href="?ref=home/scoutechain&lang=zh-cn">中文</a></div>
	    </div>
        <header>
        	<div class="container-fluid">
        		<div class="row">
        			<img class="img-responsive" src="__CDN__/assets/img/scoute/web/home/banner_bg.png"/>
        			<div class="ad">
		        		<h1>{:__('Harvest value')}</h1>
		        		<p>{:__('Sports Festival')}</p>
		        		<section id="bps">{:__('White Book')}</section>
		        	</div>
        		</div>
        	</div>
        </header>
		<div class="container-fluid introduce" id="introduce">
			<div class="row">
				<div class="col-lg-4 col-lg-offset-4">
					<h2>{:__('What is')}</h2>
		    		<p>{:__('Introduce1')}</p>
		    		<p>{:__('Introduce2')}</p>
		    		<p>{:__('Introduce3')}</p>
				</div>
			</div>
		</div>
        <div class="container-fluid user" id="user">
      		<h2>{:__('Value users')}</h2>
        	<div class="row">
        		<div class="col-lg-4 col-lg-offset-4">
        			<p class="explain">{:__('National football')}</p>
        		</div>
        	</div>
			<div class="row">
				<div class="col-lg-8 col-lg-offset-2 userSec1">
					<div class="people people1">
	        			<img src="__CDN__/assets/img/scoute/web/home/home_icon_value_01.png"/>
	        			<p>{:__('Teenager players')}</p>
	        		</div>
	        		<div class="jieshao">
	        			<div class="js js1">{:__('A professional')}</div>
	        			<div class="js js2">{:__('To build')}</div>
	        		</div>
	        		<img class="userImg1 img-responsive" src="__CDN__/assets/img/scoute/web/home/home_line01.png"/>
				</div>
        	</div>
        	<div class="row">
        		<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 jie">
		        	<div class="jie1"></div>
		        	<div class="jie2"><img class="userImg3" src="__CDN__/assets/img/scoute/web/home/home_line02.png"/></div>
		        	<div class="jie3"></div>
		        </div>
        	</div>
        	<div class="row">
        		<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 jie_2">
        			<div class="jie33"></div>
		        	<div class="jie22"><img class="userImg4" src="__CDN__/assets/img/scoute/web/home/home_line03.png"/></div>
		        	<div class="jie11"></div>
		        </div>
        	</div>
        	<div class="row">
        		<div class="col-lg-8 col-lg-offset-2 userSec2">
        			<div class="jieshao">
	        			<div class="js js3">{:__('Fans can1')}</div>
	        			<div class="js js4">{:__('Fans can2')}</div>
	        			<div class="js js5">{:__('Fans can3')}</div>
	        		</div>
	        		<div class="people people2">
	        			<img src="__CDN__/assets/img/scoute/web/home/home_icon_value_02.png"/>
	        			<p>{:__('Fans rights')}</p>
	        		</div>
	        		<img class="userImg2" src="__CDN__/assets/img/scoute/web/home/home_line04.png"/>
        		</div>
        	</div>
		</div>
		<div class="container-fluid serve" id="serve">
			<h2>{:__('Product service')}</h2>
        	<div class="row">
        		<div class="col-lg-4 col-lg-offset-4">
        			<p class="explain">{:__('On the basis')}</p>
        		</div>
        	</div>
        	<div class="row">
        		<div class="col-lg-10 col-lg-offset-1 text-center serveSec1">
        			<div  class="ss ss1">
        				<img src="__CDN__/assets/img/scoute/web/home/home_icon_prod01.png"/>
        				<h3>{:__('Open ticketing')}</h3>
        				<p>{:__('The whole')}</p>
        			</div>
	        		<div  class="ss ss2">
	        			<img src="__CDN__/assets/img/scoute/web/home/home_icon_prod02.png"/>
	        			<h3>{:__('Fair')}</h3>
	        			<p>{:__('The first')}</p>
	        		</div>
	        		<div  class="ss ss3">
	        			<img src="__CDN__/assets/img/scoute/web/home/home_icon_prod03.png"/>
	        			<h3>{:__('Point to')}</h3>
	        			<p>{:__('The platform')}</p>
	        		</div>
        		</div>
        	</div>
        	<div class="row">
        		<div class="col-lg-10 col-lg-offset-1 text-center serveSec2">
        			<div  class="ss ss4">
	        			<img src="__CDN__/assets/img/scoute/web/home/home_icon_prod04.png"/>
	        			<h3>{:__('Sports')}</h3>
	        			<p>{:__('Decentralized')}</p>
	        		</div>
	        		<div  class="ss ss5">
	        			<img src="__CDN__/assets/img/scoute/web/home/home_icon_prod05.png"/>
	        			<h3>{:__('Interactive')}</h3>
	        			<p>{:__('The media')}</p>
	        		</div>
        		</div>
        	</div>
		</div>
		<div class="container-fluid advantage" id="advantage">
			<img src="__CDN__/assets/img/scoute/web/home/home_ys_bg.png"/>
			<h2>{:__('Advantages')}</h2>
        	<div class="row row1">
        		<div class="col-lg-4 col-lg-offset-4 col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
        			<p class="explain2">{:__('Based on')}</p>
        		</div>
        	</div>
        	<div class="row">
        		<div class="col-lg-10 col-lg-offset-1 col-md-10 col-md-offset-1 col-sm-12 col-sm-offset-0 text-center advSec">
        			<div  class="as as1">
        				<h3>{:__('Open ticketing')}</h3>
        				<p>{:__('The whole')}</p>
        				<div></div>
        			</div>
	        		<div  class="as as2">
	        			<h3>{:__('Fair')}</h3>
	        			<p>{:__('The first')}</p>
	        			<div></div>
	        		</div>
	        		<div  class="as as3">
	        			<h3>{:__('Point to')}</h3>
	        			<p>{:__('The platform')}</p>
	        			<div></div>
	        		</div>
        		</div>
        	</div>
        	<div class="kongbai"></div>
		</div>
		<div class="container-fluid qtl" id="qtl">
			<div class="row">
				<div class="col-lg-8 col-lg-offset-2 col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 text-center qtlSec">
					<img src="__CDN__/assets/img/scoute/web/home/home_icon_qiu.png"/>
					<div class="bz">
						<h2>{:__('Scout Chain')}</h2>
						<p>{:__('IP economy')}</p>
						<div>
							<section class="ethBtn">ETH</section>
							<section class="btcBtn">BTC</section>
							<section class="camBtn">CAM</section>
						</div>
					</div>
				</div>
			</div>
			<div class="dhxq eth">
				<div class="dhxqT"><span class="dhxqTit">{:__('Exchange')}</span><span class="dhxqClo"></span></div>
				<div class="dhbl"><span>{:__('Subscription')}：</span><span>1 ETH = {$list.eth_cts} CTS</span></div>
				<div class="dhNum">
					<div>ETH{:__('Receivables')}：</div>
					<div class="copyText" id="copyText">{$list.eth_address}</div>
					<div class="copySec">
						<textarea id="input"></textarea>
						<img class="copy" src="__CDN__/assets/img/scoute/web/home/icon_copy.png" title="{:__('Copy')}"/>
					</div>
				</div>
				<form class="dhxqForm" action="" method="">
					<div class="formGroup formGroup1">
						<label class="lab1" for="">CTS{:__('Receivables')}：</label>
						<input type="text" name="" id="sk1" placeholder="{:__('Please input receivable')}" onfocus="this.placeholder=''" onblur="this.placeholder='{:__(\'Please input receivable\')}'" autocomplete="off"/>
						<a class="yiwen" href=""><img src="__CDN__/assets/img/scoute/web/home/icon_mark.png" alt="" /></a>
						<div class="daan">{:__('How to get')}</div>
					</div>
					<div class="formGroup formGroup2">
						<label class="lab2" for="">ETH{:__('Payment')}：</label>
						<input type="text" name="" id="fk1" placeholder="{:__('Please input payment')}" onfocus="this.placeholder=''" onblur="this.placeholder='{:__(\'Please input payment\')}'" autocomplete="off"/>
					</div>
					<div class="formGroup formGroup3">
						<label class="lab3" for="">ETH{:__('Number')}：</label>
						<input type="text" name="" id="cts1" placeholder="" autocomplete="off"/>
						<section><span>CTS {:__('Number')}：</span><span class="ctsNum1"></span></section>
					</div>
					<div class="btnList">
						<input class="cancel" type="button" value="{:__('Cancel')}" />
						<input class="submit" id="eth_submit" type="submit" value="{:__('Submit')}" />
					</div>
				</form>
				<div class="tishi">{:__('Copy success')}</div>
			</div>
			<div class="dhxq btc">
				<div class="dhxqT"><span class="dhxqTit">{:__('Exchange')}</span><span class="dhxqClo"></span></div>
				<div class="dhbl"><span>{:__('Subscription')}：</span><span>1 BTC = {$list.btc_cts} CTS</span></div>
				<div class="dhNum">
					<div>BTC{:__('Receivables')}：</div>
					<div class="copyText" id="copyText">
						{$list.btc_address}
					</div>
					<div class="copySec">
						<textarea id="input"></textarea>
						<img class="copy" src="__CDN__/assets/img/scoute/web/home/icon_copy.png" title="{:__('Copy')}"/>
					</div>
				</div>
				<form class="dhxqForm" action="" method="">
					<div class="formGroup formGroup1">
						<label class="lab1" for="">CTS{:__('Receivables')}：</label>
						<input type="text" name="" id="sk2" placeholder="{:__('Please input receivable')}" onfocus="this.placeholder=''" onblur="this.placeholder='{:__(\'Please input receivable\')}'" autocomplete="off"/>
						<a class="yiwen" href=""><img src="__CDN__/assets/img/scoute/web/home/icon_mark.png" alt="" /></a>
						<div class="daan">{:__('How to get')}</div>
					</div>
					<div class="formGroup formGroup2">
						<label class="lab2" for="">BTC{:__('Payment')}：</label>
						<input type="text" name="" id="fk2" placeholder="{:__('Please input payment')}" onfocus="this.placeholder=''" onblur="this.placeholder='{:__(\'Please input payment\')}'" autocomplete="off"/>
					</div>
					<div class="formGroup formGroup3">
						<label class="lab3" for="">BTC{:__('Number')}：</label>
						<input type="text" name="" id="cts2" placeholder="" autocomplete="off"/>
						<section><span>CTS {:__('Number')}：</span><span class="ctsNum2"></span></section>
					</div>
					<div class="btnList">
						<input class="cancel" type="button" value="{:__('Cancel')}" />
						<input class="submit" id="btc_submit" type="submit" value="{:__('Submit')}" />
					</div>
				</form>
				<div class="tishi">{:__('Copy success')}</div>
			</div>
			<div class="dhxq cam">
				<div class="dhxqT"><span class="dhxqTit">{:__('Exchange')}</span><span class="dhxqClo"></span></div>
				<div class="dhbl"><span>{:__('Subscription')}：</span><span>1 CAM = {$list.cam_cts} CTS</span></div>
				<div class="dhNum">
					<div>CAM{:__('Receivables')}：</div>
					<div class="copyText" id="copyText">
						{$list.cam_address}
					</div>
					<div class="copySec">
						<textarea id="input"></textarea>
						<img class="copy" src="__CDN__/assets/img/scoute/web/home/icon_copy.png" title="{:__('Copy')}"/>
					</div>
				</div>
				<form class="dhxqForm" action="" method="">
					<div class="formGroup formGroup1">
						<label class="lab1" for="">CTS{:__('Receivables')}：</label>
						<input type="text" name="" id="sk3" placeholder="{:__('Please input receivable')}" onfocus="this.placeholder=''" onblur="this.placeholder='{:__(\'Please input receivable\')}'" autocomplete="off"/>
						<a class="yiwen" href=""><img src="__CDN__/assets/img/scoute/web/home/icon_mark.png" alt="" /></a>
						<div class="daan">{:__('How to get')}</div>
					</div>
					<div class="formGroup formGroup2">
						<label class="lab2" for="">CAM{:__('Payment')}：</label>
						<input type="text" name="" id="fk3" placeholder="{:__('Please input payment')}" onfocus="this.placeholder=''" onblur="this.placeholder='{:__(\'Please input payment\')}'" autocomplete="off"/>
					</div>
					<div class="formGroup formGroup3">
						<label class="lab3" for="">CAM{:__('Number')}：</label>
						<input type="text" name="" id="cts3" placeholder="" autocomplete="off"/>
						<section><span>CTS {:__('Number')}：</span><span class="ctsNum3"></span></section>
					</div>
					<div class="btnList">
						<input class="cancel" type="button" value="{:__('Cancel')}" />
						<input class="submit" id="cam_submit" type="submit" value="{:__('Submit')}" />
					</div>
				</form>
				<div class="tishi">{:__('Copy success')}</div>
			</div>
		</div>

		<div class="container-fluid sell" id="sell">
			<div class="row">
				<div class="col-lg-10 col-lg-offset-1 text-center sellSec1">
					<h2>CTS{:__('Sales progress')}</h2>
					<div class="pro">
						<div class="percent">{$list.percentage}%</div>
						<div class="proNum"></div>
						<div class="proD"><div class="proDd"></div></div>
					</div>
					<div class="harvest">
						<section><span>{:__('Get')}ETH：</span><span>{$list.eth_num} eth</span></section>
						<section><span>{:__('Get')}BTC：</span><span>{$list.btc_num} btc</span></section>
						<section><span>{:__('Get')}CAM：</span><span>{$list.cam_num} cam</span></section>
					</div>
					<div class="search">{:__('Query')}</div>
				</div>
			</div>
			<div class="jycx">
				<div class="jycxT"><span class="jycxTxt">{:__('Transaction query')}</span><span class="jycxClo"></span></div>
				<div class="jycxH">CTS{:__('Transaction query')}</div>
				<form class="jycxForm" action="" method="">
					<input type="text" name="" id="cxInput" placeholder="{:__('Please input query')}" onfocus="this.placeholder=''" onblur="this.placeholder='请输入查询钱包地址'" autocomplete="off"/>
					<div class="btnList">
						<input class="cancel" type="button" value="{:__('Cancel')}" />
						<input class="submit" type="submit" value="{:__('Submit')}" />
					</div>
				</form>
			</div>
			<div class="row">
				<div class="col-lg-8 col-lg-offset-2 text-center sellSec2">
					<h2>{:__('Sales plan')}</h2>
					<div class="sellSec2_S1">
						<div class="ses ses2">
							<p class="sesp1">Start</p>
							<p class="sesp2">{$list.start_Md}</p>
							<p class="sesp3">{$list.start_Hi} (UTC)</p>
						</div>
						<div class="ses ses2">
							<p class="sesp1">End</p>
							<p class="sesp2">{$list.end_Md}</p>
							<p class="sesp3">{$list.end_Hi} (UFC)</p>
						</div>
						<div class="ses ses3">
							<p class="sesp1">Token Amount</p>
							<p class="sesp2">{$list.token_amount} million</p>
							<p class="sesp3">CTS</p>
						</div>
					</div>
					<div class="sellSec2_S2">
						{volist name="award" id="vo" key="k"}
						<div class="sec sec{$k}">
							<section>{$vo.rewards}%</section>
							<hr />
							<span class="secp1">{:date('Y m.d',$vo.starttime)}-{:date('m.d',$vo.endtime)}</span>
							<span class="secp2">BOUNS</span>
						</div>
						{/volist}
						<!--<div class="sec sec2">
							<section>+3%</section>
							<hr />
							<span class="secp1">2018 01.22-02.05</span>
							<span class="secp2">BOUNS</span>
						</div>
						<div class="sec sec3">
							<section>+1%</section>
							<hr />
							<span class="secp1">2018 01.22-02.19</span>
							<span class="secp2">BOUNS</span>
						</div>
						<div class="sec sec4">
							<section>0%</section>
							<hr />
							<span class="secp1">Day24 - Day31</span>
							<span class="secp2">BOUNS</span>
						</div>
						<div class="sec sec5">
							<section>0%</section>
							<hr />
							<span class="secp1">Day24 - Day31</span>
							<span class="secp2">BOUNS</span>
						</div>-->
					</div>
				</div>
			</div>
		</div>
        {include file="scoute/footer"}
		<div class="container-fluid plan" id="plan">
			<div class="row">
				<div class="col-lg-8 col-lg-offset-2 text-center planSec">
					<div class="planM">
						<h2>{:__('Blueprint')}</h2>
						<p>{:__('Footer msg')}</p>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
<script type="text/javascript">
//页面DOM结构绘制完成后执行
var param = '{$val}';
var t = JSON.parse(param);//json对象序列化
$(document).ready(function(){
	var ScrTop = document.documentElement.scrollTop || document.body.scrollTop;
	if(ScrTop > 0){
		$('.navbar').css('box-shadow','0 10px 25px rgba(0,52,74,0.18)')
	}else{
		$('.navbar').css('box-shadow','0 0 0 rgba(0,0,0,0)')
	}
});
//监听页面的滚动
window.addEventListener('scroll',function(){
	var ScrTop = document.documentElement.scrollTop || document.body.scrollTop;
	if(ScrTop > 0){
		$('.navbar').css('box-shadow','0 10px 25px rgba(0,52,74,0.18)')
	}else{
		$('.navbar').css('box-shadow','0 0 0 rgba(0,0,0,0)')
	}
});
//导航栏鼠标停留样式
$('.navList a').hover(function(){
	$(this).addClass('act1');
	$(this).parent().siblings().children('a').removeClass('act')
},function(){
	$(this).removeClass('act1')
});
//导航栏鼠标点击样式
$('.navList a').each(function(index,elem){
	$(this).click(function(){
		$(this).addClass('act2');
		$(this).parent().siblings().children('a').removeClass('act2');
	})
});

//中英文切换按钮
$('.cutLan').click(function(){
    //取消事件冒泡
    event.stopPropagation();
    $('.lan').slideToggle(250);
});
//点击空白处隐藏弹出层，下面为滑动消失效果和淡出消失效果。
$(document).click(function(event){
    var _con = $('.lan');  // 设置目标区域
    if(!_con.is(event.target) && _con.has(event.target).length === 0){ // Mark 1
    	//$('#divTop').slideUp('slow');  //滑动消失
        $('.lan').slideUp(250);   //淡出消失
    }
});
$('.lan>div').click(function(){
    //取消事件冒泡
    event.stopPropagation();
    $('.lan').slideUp(250);
});

//点击eth按钮弹出框
$('.ethBtn').click(function(){
	$('.eth').fadeIn(200);
});
//点击btc按钮弹出框
$('.btcBtn').click(function(){
	$('.btc').fadeIn(200);
});
//点击cam按钮弹出框
$('.camBtn').click(function(){
	$('.cam').fadeIn(200);
});
//点击关闭按钮关闭弹窗
$('.dhxqClo').click(function(){
	$('.dhxq').fadeOut(200);
});
//点击取消按钮关闭弹窗
$('.dhxq .cancel').click(function(){
	$('.dhxq').fadeOut(200);
});

//点击查询按钮弹出框
$('.search').click(function(){
	$('.jycx').fadeIn(200);
});
//点击关闭按钮关闭弹窗
$('.jycxClo').click(function(){
	$('.jycx').fadeOut(200);
});
//点击取消按钮关闭弹窗
$('.jycx .cancel').click(function(){
	$('.jycx').fadeOut(200);
});
//ctsNum的值跟着eth输入框的值变化
$('#cts1').keyup(function(){
	var inputNum = $('#cts1').val();
    var ethT = parseInt(t.eth_cts);
	var showNum1 = inputNum*ethT;
	$('.ctsNum1').text(showNum1);
});
//ctsNum的值跟着btc输入框的值变化
$('#cts2').keyup(function(){
    var inputNum = $('#cts2').val();
    var btcT = parseInt(t.btc_cts);
    var showNum2 = inputNum*btcT;
    $('.ctsNum2').text(showNum2);
});
//ctsNum的值跟着cts输入框的值变化
$('#cts3').keyup(function(){
    var inputNum = $('#cts3').val();
    var camT = parseInt(t.cam_cts);
    var showNum3 = inputNum*camT;
    $('.ctsNum3').text(showNum3);
});
//eth提交按钮点击事件
$('#eth_submit').click(function () {
    var url = "{:url('home/Scoutechain/assetExchange')}";
    var typeAddress = $('#fk1').val();
    var ctsAddress = $('#sk1').val();
    var ethNum = $('#cts1').val();
    var ethT = parseInt(t.eth_cts);
    var ctsExchange = ethNum*ethT;
    $.ajax({
        type: 'POST',
        url: url,
        dataType: 'json',
        data: {
            type:1,
            type_address:typeAddress,
            cts_address:ctsAddress,
            type_num:ethNum,
            cts_exchange:ctsExchange,
        },
        success: function (res) {
           alert(res.msg);
        }
    })
});
//btc提交按钮点击事件
$('#btc_submit').click(function () {
    var url = "{:url('home/Scoutechain/assetExchange')}";
    var typeAddress = $('#fk2').val();
    var ctsAddress = $('#sk2').val();
    var btcNum = $('#cts2').val();
    var btcT = parseInt(t.btc_cts);
    var ctsExchange = btcNum*btcT;
    $.ajax({
        type: 'POST',
        url: url,
        dataType: 'json',
        data: {
            type:2,
            type_address:typeAddress,
            cts_address:ctsAddress,
            type_num:btcNum,
            cts_exchange:ctsExchange,
        },
        success: function (res) {
            alert(res.msg);
        }
    })
});
//cam提交按钮点击事件
$('#cam_submit').click(function () {
    var url = "{:url('home/Scoutechain/assetExchange')}";
    var typeAddress = $('#fk3').val();
    var ctsAddress = $('#sk3').val();
    var camNum = $('#cts3').val();
    var camT = parseInt(t.cam_cts);
    var ctsExchange = camNum*camT;
    $.ajax({
        type: 'POST',
        url: url,
        dataType: 'json',
        data: {
            type:3,
            type_address:typeAddress,
            cts_address:ctsAddress,
            type_num:camNum,
            cts_exchange:ctsExchange,
        },
        success: function (res) {
            alert(res.msg);
        }
    })
});

//复制
var copy = document.getElementsByClassName('copy')[0];
copy.addEventListener('click', function() {
	if(navigator.userAgent.match(/(iPhone|iPod|iPad);?/i)) { //区分iPhone设备  
		window.getSelection().removeAllRanges(); //这段代码必须放在前面否则无效  
		var Url2 = document.getElementById("copyText"); //要复制文字的节点  
		var range = document.createRange();
		// 选中需要复制的节点  
		range.selectNode(Url2);
		// 执行选中元素  
		window.getSelection().addRange(range);
		// 执行 copy 操作  
		var successful = document.execCommand('copy');
		// 移除选中的元素  
		window.getSelection().removeAllRanges();
		$(".tishi").show().delay(1500).fadeOut();
	} else {
		var Urltext = document.getElementById("copyText").innerText;
		var Url2 = document.getElementById("input"); //要复制文字的节点
		Url2.innerText = Urltext;
		Url2.select(); // 选择对象
		document.execCommand("Copy"); // 执行浏览器复制命令
		$(".tishi").show().delay(1500).fadeOut();
	}
});
$(".copy").hover(function(){
	$(".copy").attr('src','__CDN__/assets/img/scoute/web//home/icon_copy_01.png')
},function(){
	$(".copy").attr('src','__CDN__/assets/img/scoute/web/home/icon_copy.png')
});
$(".yiwen").hover(function(){
	$(".yiwen").attr('src','__CDN__/assets/img/scoute/web/home/icon_mark_01.png');
	$('.daan').show(250)
},function(){
	$(".yiwen").attr('src','__CDN__/assets/img/scoute/web/home/icon_mark.png');
	$('.daan').hide(100)
});
</script>